﻿Public Class AddConsumptionView

  Public Sub New()

    ' This call is required by the designer.
    InitializeComponent()

    ' Add any initialization after the InitializeComponent() call.
    If Not BaseViewModel.IsInDesignModeStatic Then
      Me.DataContext = TotalConsumptionsVM.Instance
    End If
  End Sub

  Private Sub AddConsumptionView_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded
    NewConsumption.Focus()
  End Sub

End Class
